// 入口部分
import  Vue from "vue"
import app from './App.vue'
//顶部固定组件
import { Header, Swipe, SwipeItem } from 'mint-ui';
import './lib/mui/css/mui.css';
import './lib/mui/css/icons-extra.css';
import VueRouter from 'vue-router'
import router from './router.js'
import VueResource from 'vue-resource'
Vue.use(VueRouter)
Vue.use(VueResource)
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);

Vue.component(SwipeItem.name, SwipeItem);

var vm =new Vue({
    el:"#app",
    render: c => c(app),
    router
})